﻿

// =================================================================== 
// Module说明
//====================================================================
// 创建时间：2018-12-14 11:31:53
// 负责人：liucx
// ===================================================================

using System;
using System.Collections.Generic;
using System.ComponentModel;
using OF.Component.Model;
using System.Runtime.Serialization;
namespace OF.Component.Model
{
    #region InterfaceLog数据实体
    /// <summary>
    ///数据实体  
    /// </summary>
    [Serializable]
    [DataContract]
    public class InterfaceLogInfo
    {

        #region 公共属性

        ///<summary>
        ///
        ///</summary>
        [Description("")]
        [DataMember]
        public long InterfaceLogID
        {
            get; set;
        }

        ///<summary>
        ///接口地址
        ///</summary>
        [Description("接口地址")]
        [DataMember]
        public string APIPath
        {
            get; set;
        }

        ///<summary>
        ///请求参数
        ///</summary>
        [Description("请求参数")]
        [DataMember]
        public string RequestParm
        {
            get; set;
        }

        ///<summary>
        ///响应结果
        ///</summary>
        [Description("响应结果")]
        [DataMember]
        public string ResponseResult
        {
            get; set;
        }

        ///<summary>
        ///请求时间
        ///</summary>
        [Description("请求时间")]
        [DataMember]
        public DateTime RequestDate
        {
            get; set;
        }

        ///<summary>
        ///响应时间
        ///</summary>
        [Description("响应时间")]
        [DataMember]
        public DateTime ResponseDate
        {
            get; set;
        }

        ///<summary>
        ///调用来源(a:app,2:微信小程序,3:支付宝小程序、4:h5)
        ///</summary>
        [Description("调用来源(a:app,2:微信小程序,3:支付宝小程序、4:h5)")]
        [DataMember]
        public int CallSource
        {
            get; set;
        }

        ///<summary>
        ///关键字段（订单ID、用户ID等）
        ///</summary>
        [Description("关键字段（订单ID、用户ID等）")]
        [DataMember]
        public string KeyField
        {
            get; set;
        }

        ///<summary>
        ///响应状态(0成功,1失败)
        ///</summary>
        [Description("响应状态(0成功,1失败)")]
        [DataMember]
        public int ResponseStatus
        {
            get; set;
        }

        #endregion

        #region 构造函数
        ///<summary>
        ///
        ///</summary>
        public InterfaceLogInfo()
        {
        }

        #endregion
    }
    #endregion
}